An identifier for an object on which the invoice line is based, given by the Seller.
売り手によって指定された、請求書の明細行の請求の根拠となっているオブジェクトの識別子。


About

Syntax binding
ubl:Invoice / cac:InvoiceLine / cac:DocumentReference
Selector
not(cbc:DocumentTypeCode = '130')
Restricted Syntax Cardinality
0..1
UBL 2.1
XPath
/ Invoice / cac:InvoiceLine / cac:DocumentReference [ not(cbc:DocumentTypeCode = '130') ]
Occurrence
0..n
Datatype
UBL Definition
A reference to a document associated with this invoice line.
Namespace
cac urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2

Semantic

Business Term

LINE DOCUMENT REFERENCE

明細行文書参照
ID
ibg-36
Description
An identifier for an object on which the invoice line is based, given by the Seller.
売り手によって指定された、請求書の明細行の請求の根拠となっているオブジェクトの識別子。
Aligned Cardinality
0..1

Child elements

  ID Business term Sem. Card. Syntax Card. XPath
 ibt-188 1..1 1..1 / Invoice / cac:InvoiceLine / cac:DocumentReference [ not(cbc:DocumentTypeCode = '130') ] / cbc:ID
 ibt-189 0..1 0..1 / Invoice / cac:InvoiceLine / cac:DocumentReference [ not(cbc:DocumentTypeCode = '130') ] / cbc:DocumentTypeCode

VERSION 0.9.2 RULE
JP PINT 0.9.2 Aligned rule
aligned-ibrp-060(fatal)
Obsoleted
[aligned-ibrp-059]-Line Document reference can only be used for Invoice line object (ibg-36)
context
cac:InvoiceLine |
cac:CreditNoteLine
test
not(cac:DocumentReference) or
(cac:DocumentReference/cbc:DocumentTypeCode='130')

VERSION 0.9.1 RULE
Obsoleted
Shared rule (0.9.1)
ibr-089 (fatal)
[ibr-089]-Only one invoiced object (ibg-36) is allowed per line (ibg-25).
context
cac:InvoiceLine |
cac:CreditNoteLine
test
(count(cac:DocumentReference[cbc:DocumentTypeCode =
    130]) <= 1
)